﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Studentyemian/Student.Master" AutoEventWireup="true" CodeBehind="stuchengjichaxun.aspx.cs" Inherits="zlh.Studentyemian.stuchengjichaxun" %>
<asp:Content ID="Content1" ContentPlaceHolderID="stuConPlaHd" runat="server">
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label11" runat="server" Text="学号：" CssClass="word"></asp:Label>
        <asp:TextBox ID="TextBox10" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" CssClass="button" Text="确认查询" />
    </p>
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowPaging="True" HorizontalAlign="Center" PageSize="5" Width="792px">
            <Columns>
                <asp:BoundField DataField="stuNo" HeaderText="学号" SortExpression="stuNo" />
                <asp:BoundField DataField="stuName" HeaderText="姓名" SortExpression="stuName" />
                <asp:BoundField DataField="jiangchengleibie" HeaderText="奖惩类别" SortExpression="jiangchengleibie" />
                <asp:BoundField DataField="text" HeaderText="事项" SortExpression="text" />
                <asp:BoundField DataField="jiafenshu" HeaderText="加分" SortExpression="jiafenshu" />
            </Columns>
            <HeaderStyle CssClass="gridxiewHeaderstyle" />
            <RowStyle CssClass="gridviewrowstyle" />
        </asp:GridView>
        &nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString6 %>" SelectCommand="SELECT * FROM [jiangcheng] WHERE ([stuNo] = @stuNo2)">
            <SelectParameters>
                <asp:ControlParameter ControlID="TextBox10" Name="stuNo2" PropertyName="Text" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
&nbsp;&nbsp;&nbsp;
        &nbsp;</p>
</asp:Content>
